package com.ruoyi.system.domain;

import java.sql.Time;
import java.time.LocalTime;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 吃药提醒对象 medicine_reminder
 * 
 * @author shan
 * @date 2025-04-13
 */
public class MedicineReminder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Long reminderId;

    /** 症状 */
    @Excel(name = "症状")
    private String symptom;

    /** 药品名称 */
    @Excel(name = "药品名称")
    private String medicineName;

    /** 提醒周期 */
    @Excel(name = "提醒周期")
    private String reminderCycle;

    /** 提醒时间 */
//    @JsonFormat(pattern = "HH:mm")
//    @Excel(name = "提醒时间", width = 30, dateFormat = "HH:mm")
    @Excel(name = "提醒时间")

    private String reminderTime;

    /** 提前提醒时间（分钟） */
    @Excel(name = "提前提醒时间", readConverterExp = "分=钟")
    private Long advanceReminderTime;

    public void setReminderId(Long reminderId) 
    {
        this.reminderId = reminderId;
    }

    public Long getReminderId() 
    {
        return reminderId;
    }
    public void setSymptom(String symptom) 
    {
        this.symptom = symptom;
    }

    public String getSymptom() 
    {
        return symptom;
    }
    public void setMedicineName(String medicineName) 
    {
        this.medicineName = medicineName;
    }

    public String getMedicineName() 
    {
        return medicineName;
    }
    public void setReminderCycle(String reminderCycle) 
    {
        this.reminderCycle = reminderCycle;
    }

    public String getReminderCycle() 
    {
        return reminderCycle;
    }
    public void setReminderTime(String reminderTime)
    {
        this.reminderTime = reminderTime;
    }

    public String getReminderTime()
    {
        return reminderTime;
    }
    public void setAdvanceReminderTime(Long advanceReminderTime) 
    {
        this.advanceReminderTime = advanceReminderTime;
    }

    public Long getAdvanceReminderTime() 
    {
        return advanceReminderTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("reminderId", getReminderId())
            .append("symptom", getSymptom())
            .append("medicineName", getMedicineName())
            .append("reminderCycle", getReminderCycle())
            .append("reminderTime", getReminderTime())
            .append("advanceReminderTime", getAdvanceReminderTime())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
